# make a list of unit test files
set(example_list
	airfoil.cpp
	circle.cpp
	cyoke.cpp
	dmsh.cpp
	ellipse.cpp
	moon.cpp
	poly.cpp
	recthole.cpp
	ryoke.cpp
	square.cpp
	structure.cpp
	plasma.cpp
	angulararray.cpp
	transform.cpp
	bearing.cpp
	uchannel.cpp
	multipole.cpp
)

# walk over source files
foreach(srcfile ${example_list})
	string(REPLACE ".cpp" "" name ${srcfile})
	add_executable(${name} ${srcfile})
	target_link_libraries(${name} Rat::Dmsh)
endforeach()